package com.bookingService;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class Fare {
	public List<FareEntry> entry = new ArrayList<FareEntry>();
	
    public Fare(Map<String,Integer> map) {
        for( Map.Entry<String,Integer> e : map.entrySet() )
            entry.add(new FareEntry(e));
    }
    
    public Fare() {
    	
    }
}
